//=======================================================================================
//
//  Purpose: Configuration change parameters for teh web server.
//
//  Copyright (C) 2011 Mark Stevens
//
//  This software is destributed under the MS-PL licence agreement a copy of which can
//  be found on the codeplex page http://netduinoledcontrol.codeplex.com and in the
//  Licence.txt file distributed with this project.
//
//=======================================================================================
using System;
using Microsoft.SPOT;

namespace NetduinoWebServer
{
    class ConfigurationEventArgs
    {
        /// <summary>
        /// Name of the file to use used for logging.
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// Sample rate in milliseconds.
        /// </summary>
        public int SampleRate { get; set; }

        public ConfigurationEventArgs(int sampleRate, string fileName)
        {
            SampleRate = sampleRate;
            FileName = fileName;
        }
    }
}
